package org.jeecg.modules.demo.sms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 分销记录
 * @Author: jeecg-boot
 * @Date:   2020-03-01
 * @Version: V1.0
 */
@Data
@TableName("fenxiao_records")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="fenxiao_records对象", description="分销记录")
public class FenxiaoRecords {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**orderId*/
	@Excel(name = "orderId", width = 15)
    @ApiModelProperty(value = "orderId")
	private Integer orderId;
	/**被邀请的*/
	@Excel(name = "被邀请的", width = 15)
    @ApiModelProperty(value = "被邀请的")
	private Integer memberId;
	/**邀请人*/
	@Excel(name = "邀请人", width = 15)
    @ApiModelProperty(value = "邀请人")
	private Integer inviteId;
	/**money*/
	@Excel(name = "money", width = 15)
    @ApiModelProperty(value = "money")
	private java.math.BigDecimal money;
	/**level*/
	@Excel(name = "level", width = 15)
    @ApiModelProperty(value = "level")
	private String level;
	/**status*/
	@Excel(name = "status", width = 15)
    @ApiModelProperty(value = "status")
	private String status;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**storeId*/
	@Excel(name = "storeId", width = 15)
    @ApiModelProperty(value = "storeId")
	private Integer storeId;
	/**goodsId*/
	@Excel(name = "goodsId", width = 15)
    @ApiModelProperty(value = "goodsId")
	private Integer goodsId;
	/**1余额 2积分*/
	@Excel(name = "1余额 2积分", width = 15)
    @ApiModelProperty(value = "1余额 2积分")
	private Integer type;
}
